GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcFindFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text containing the text you want to find.

[Start_num] specifies the character at which to start the search. The first character in within_text is character number 1. The default value is 1.

Locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcFindFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text containing the text you want to find.

[Start_num] specifies the character at which to start the search. The first character in within_text is character number 1. The default value is 1.

Return Value

A System.String value that indicates the evaluate result.
See Also

Reference

CalcFindFunction Class
CalcFindFunction Members
Overload List